export const getProjectInfo = async () => {
  return {
    name: 'my-app',
    version: 'v1.0.0',
    description: 'this is my app',
    type: 'app',
    globalConfig: {
      logo: 'http://xxx',
      cover: 'http://xxx',
      backgroundColor: '#ffffff'
    },
    navigation: {
      id: '001',
      name: '导航',
      icon: '',
      componentName: 'GfNavigation',
      sort: 1,
      attributes: {
        list: [
          {
            id: '001',
            icon: 'icon-shouye',
            text: '首页',
            allowEdit: false,
            jump: { type: 'fixed', url: '0' }
          },
          {
            id: '002',
            icon: 'icon-fuwu',
            text: '服务',
            allowEdit: true,
            jump: { type: 'fixed', url: '1' }
          },
          {
            id: '003',
            icon: 'icon-liwuhuodong',
            text: '活动',
            allowEdit: true,
            jump: { type: 'fixed', url: '2' }
          },
          {
            id: '004',
            icon: 'icon-weizhi',
            text: '阵地',
            allowEdit: true,
            jump: { type: 'fixed', url: '3' }
          },
          {
            id: '005',
            icon: 'icon-wode',
            text: '我的',
            allowEdit: false,
            jump: { type: 'fixed', url: '4' }
          }
        ]
      },
      styles: {}
    },
    pages: [
      {
        id: '001',
        name: '首页',
        attributes: {},
        styles: {
          backgroundColor: '#ffffff',
          topBackgroundImage: 'http://xxx',
          paddingTop: 0,
          paddingBottom: 0,
          paddingLeft: 0,
          paddingRight: 0
        },
        componentList: [
          {
            id: '1705627035CsXoSW',
            name: '轮播图',
            componentName: 'GfSwiper',
            icon: 'icon-shouyelunbotu',
            type: 'base',
            sort: 1,
            attributes: { autoPlay: true, loop: true },
            styles: {
              paddingTop: 0,
              paddingBottom: 0,
              paddingLeft: 0,
              paddingRight: 0,
              swiperItemHeight: 210
            }
          },
          {
            id: '1705627037Gt0XJx',
            name: '辅助分割',
            componentName: 'GfDivider',
            icon: 'icon-fengexian',
            type: 'base',
            sort: 5,
            fields: {
              attributes: {},
              styles: {
                height: 20,
                paddingLeft: 0,
                paddingRight: 0,
                lineIsShow: false,
                lineStyle: 'solid',
                lineColor: '#E5E5E5',
                backgroundColor: 'transparent'
              }
            }
          },
          {
            id: '1705627040Rt1yAe',
            name: '金刚区',
            componentName: 'GfVajraDistrict',
            icon: 'icon-a-12',
            type: 'base',
            sort: 2,
            attributes: { rowNum: 2, colNum: 4 },
            styles: {
              paddingTop: 0,
              paddingBottom: 0,
              paddingLeft: 0,
              paddingRight: 0,
              itemPadding: 0
            }
          },
          {
            id: '170562704759fRZY',
            name: '标题',
            componentName: 'GfTitle',
            icon: 'icon-biaoti',
            type: 'base',
            sort: 6,
            attributes: {
              title: '标题',
              subTitle: 'SUBTITLE'
            },
            styles: {
              paddingTop: 10,
              paddingBottom: 10,
              paddingLeft: 10,
              paddingRight: 10,
              titleAlign: 'left',
              titleFontSize: 20,
              titleColor: '#333333',
              subTitleFontSize: 12,
              subTitleColor: '#999999'
            }
          },
          {
            id: '1705627052d0GCHg',
            name: '专题区',
            componentName: 'GfSpecialSubject',
            icon: 'icon-juzhenguanli',
            type: 'base',
            sort: 3,
            attributes: {
              cube: {
                model: 'capcub3',
                row: 6,
                list: [
                  { top: 0, left: 0, bottom: 3, right: 3, height: 3, width: 3 },
                  { top: 0, left: 3, bottom: 3, right: 6, height: 3, width: 3 },
                  { top: 3, left: 0, bottom: 6, right: 3, height: 3, width: 3 },
                  { top: 3, left: 3, bottom: 6, right: 6, height: 3, width: 3 }
                ]
              }
            },
            styles: {
              paddingTop: 0,
              paddingBottom: 0,
              paddingLeft: 0,
              paddingRight: 0,
              itemPadding: 0
            }
          },
          {
            id: '1705627061ew73Ae',
            name: '资讯区',
            componentName: 'GfInformation',
            icon: 'icon-xinwenzixun',
            type: 'base',
            sort: 4,
            attributes: {
              showTab: true,
              showTabNum: 3.5,
              imgAlign: 'left',
              dateMode: 'date',
              showPageView: true
            },
            styles: {
              paddingTop: 0,
              paddingBottom: 0,
              paddingLeft: 0,
              paddingRight: 0
            }
          }
        ]
      }
    ]
  }
}
